﻿/// <reference path="../GeneratedArtifacts/viewModel.js" />

myapp.AddEditProduct.ProductWeight_postRender = function (element, contentItem) {
    contentItem.dataBind("value", function (value) {
        if (value) {
            $(element).text(value.toFixed(2));
        }
    });
};